#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
struct xingxi
{
    int xuehao;
    float xueke1;
    float xueke2;
    float xueke3;
};
int main()
{
    int a = 0;
    float b = 0;
    float c = 0;
    float d = 0;
    scanf("%d;%f,%f,%f", &a, &b, &c, &d);
    struct xingxi p = { .xuehao = a,.xueke1 = b,.xueke2 = c,.xueke3 = d };
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", p.xuehao, p.xueke1, p.xueke2, p.xueke3);
    return 0;
}
